package com.dhl.builder.builfrthouse02;

/**
 * @title: Client
 * @Author danghailiang
 * @Date: 2022/7/31 10:42
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        // 普通房子建立
        HouseDirector houseDirector = new HouseDirector(new CommonHouse());
        Product product = houseDirector.construcHouse();

        // 高楼大厦
        HouseDirector houseHigh = new HouseDirector(new HighBuilder());
        Product productHigh = houseHigh.construcHouse();

        // 别墅
        HouseDirector bieShu = new HouseDirector(new BieShuHouse());
        Product bieShuProduct = bieShu.construcHouse();

    }
}
